tools/xl: Use const whenever we point to literal strings
authorJulien Grall <jgrall@amazon.com>
Wed, 5 May 2021 17:43:06 +0000 (18:43 +0100)
committerJulien Grall <jgrall@amazon.com>
Wed, 5 May 2021 17:43:06 +0000 (18:43 +0100)
commite921931feccc8406d5a968e3f97827095b02ce96
treebc39a8b9be3ebd8c58b6fb44b1b23b72487ef7a8
parentb066bd195c04f15ca396ce427c03da1e14849197
tools/xl: Use const whenever we point to literal strings

literal strings are not meant to be modified. So we should use const
char * rather than char * when we want to store a pointer to them.

Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
tools/xl/xl.h
tools/xl/xl_console.c
tools/xl/xl_utils.c
tools/xl/xl_utils.h